package cn.lin.service.impl;

import cn.lin.domain.Organization;
import cn.lin.mapper.OrganizationMapper;
import cn.lin.service.OrganizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author qmp
 * @date 2024/12/6 22:00
 */
@Service
@Transactional
public class OrganizationServiceImpl implements OrganizationService {

    @Autowired
    private OrganizationMapper organizationMapper ;

    @Override
    public List<Organization> findAll() {

        return organizationMapper.findAll() ;

    }
}
